package fddextsignuser

import "yundian/internel/pkg/dingo"

type FddExtSignUserAttr func(model *FddExtSignUser)

type FddExtSignUserAttrs []FddExtSignUserAttr

func (attrFunc FddExtSignUserAttrs) Apply(model *FddExtSignUser) {
	for _, f := range attrFunc {
		f(model)
	}
}

func WithCreateAt(createAt dingo.Time) FddExtSignUserAttr {
	return func(model *FddExtSignUser) { model.CreateAt = createAt }
}
